package com.example.hxds.dr.db.dao;


import java.util.ArrayList;
import java.util.HashMap;
import java.util.Map;

public interface DriverDao {
    public long hasDriver(Map form);//验证是否重复注册
    public int registerDriver(Map newDriver);//注册新司机
    public String searchDriverId(String openId);//查询司机id
    public int updateDriverAuth(Map drAuth);//司机身份信息更新
    public HashMap searchDriverNameAndSex(long driverId);//用用户id查询用户姓名和性别
    public int updateDriverArchive(long driverId);//更新司机状态
    public HashMap login(String openId);
    public HashMap searchDriverBaseInfo(long driverId);
    public ArrayList<HashMap> searchDriverByPage(Map param);
    public long searchDriverCount(Map param);
    public HashMap searchDriverAuth(long driverId);
    public HashMap searchDriverRealSummary(long driverId);
    public int updateDriverRealAuth(Map param);
    public HashMap searchDriverBriefInfo(long driverId);
    public String searchDriverOpenId(long driverId);
}




